//
//  ArticleModel.h
//  HYSmileiOS
//
//  Created by alekye on 16/4/24.
//  Copyright © 2016年 heyou. All rights reserved.
//

#import "BaseModel.h"
#import "UserInfoDetail.h"
#import "ImageDefines.h"

@interface ArticleModel : BaseModel

/**
 *  唯一标识
 */
@property (assign, nonatomic) NSInteger wbid;
/**
 *  图片内容说明
 */
@property (copy, nonatomic) NSString *desc;
/**
 *  图片宽度
 */
@property (assign, nonatomic) NSInteger imageWidth;
/**
 *  图片高度
 */
@property (assign, nonatomic) NSInteger imageHeight;
/**
 *  图片地址
 */
@property (copy, nonatomic) NSString *imageUrl;
/**
 *  缩略图宽度
 */
@property (assign, nonatomic) NSInteger thumbnailWidth;
/**
 *  缩略图高度
 */
@property (assign, nonatomic) NSInteger thumbnailHeight;

/**
 *  缩略图图片地址
 */
@property (copy, nonatomic) NSString *thumbnailUrl;

/**
 *  类型：HYImageType_JPG: 1, HYImageType_PNG: 2, HYImageType_GIF: 3
 */
@property (assign, nonatomic) HYImageType type;
/**
 *  日期
 */
@property (copy, nonatomic) NSDate *date;
/**
 *  发布者
 */
@property (strong, nonatomic) UserInfoDetail *author;
/**
 *  被赞次数
 */
@property (assign, nonatomic) NSInteger likenum;
/**
 *  被踩次数
 */
@property (assign, nonatomic) NSInteger hatenum;
/**
 *  被评论次数
 */
@property (assign, nonatomic) NSInteger commentnum;
/**
 *  被收藏次数
 */
@property (assign, nonatomic) NSInteger marknum;

/**
 *  是否包含大图
 *
 *  @return YES/NO
 */
- (BOOL)hasFullImage;
@end
